class CreateDocumentsTags < ActiveRecord::Migration
  def change
    # TODO add composite primary key?
    create_table :documents_tags, :id => false do |t|
      t.references :document, :null => false
      t.references :tag,      :null => false
    end
  end
end
